import request from '@/utils/request'

export function supplierData(){
    // console.log(data,'123')
    return request({
        url:`/system/homepage/get/?type=1`,
        method:'get',
    })
}
export function customData(){
    // console.log(data,'123')
    return request({
        url:`/system/homepage/get/?type=2`,
        method:'get',
    })
}
export function goodsData(){
    // console.log(data,'123')
    return request({
        url:`/system/homepage/get/?type=3`,
        method:'get',
    })
}
export function tradeData(){
    // console.log(data,'123')
    return request({
        url:`/system/homepage/get/?type=4`,
        method:'get',
    })
}
export function LineChartData(){
    // console.log(data,'123')
    return request({
        url:'/system/homepage/get/count',
        method:'get',
    })
}
export function BarChartData(){
    // console.log(data,'123')
    return request({
        url:'/system/homepage/get/sum',
        method:'get',
    })
}